scrolledwindow: Avoid a critical
authorMatthias Clasen <mclasen@redhat.com>
Mon, 10 Apr 2023 04:22:20 +0000 (00:22 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 21 Apr 2023 07:15:04 +0000 (09:15 +0200)
commit51f6129578342687f96b9f2a4c886853568203ee
tree777fd343b2d7f343d9651a6bffb5ccf244a7c30e
parent9a10d16f691ed7c1a80bbc11380a8e2be3e383e8
scrolledwindow: Avoid a critical

When setting the child property to NULL, we also need
to unset auto_added_viewport, to avoid triggering a
critical when setting it again.
gtk/gtkscrolledwindow.c